# 封装公共断言方法
def common_assert(resp, exp_status_code, exp_status, exp_desc):
    assert exp_status_code == resp.status_code
    assert exp_status == resp.json().get("status")
    assert exp_desc in resp.json().get("description")
